<?php
require_once 'Core/Services/Abstract.php';

/**
 * Global locale service. Allows a consumer to query which languages
 * are supported by this application.
 * 
 * @author Michael Krotscheck
 */
class Core_Services_Locale
	extends Core_Services_Abstract
{
	/**
	 * Reads and returns a specific locale.
	 * 
	 * @param int $id
	 * @return string
	 */
	public function read ( $id )
	{
		$locale = Zend_Registry::get('Zend_Locale');
		return $locale->toString();
	}
}
